package com.qijian.flowable.domain;

import com.qijian.common.enums.ApprovalDescriptionEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * flow过滤记录对象 flow_filter_record
 *
 * @author qijian
 * @date 2024-02-04
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("flow_filter_record")
public class FlowFilterRecord extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "主键")
    private Long id;

    @Excel(name = "过滤类型")
    @ApiModelProperty(value = "过滤类型")
    private String type;

    @Excel(name = "过滤主键")
    @ApiModelProperty(value = "过滤主键")
    private String sourceId;

    @Excel(name = "过滤次数")
    @ApiModelProperty(value = "过滤次数")
    private Long count;

}
